Skip to content

docs(skills): the platform and upgrade skills teach engines.protocol '^19', the major the 19.x boot handshake accepts - #37298

Draft
objectstack-fleet[bot] wants to merge 2 commits into
mainfrom
claude/issue-37229-skills-protocol-19
Draft

objectstack-fleet[bot] wants to merge 2 commits into
mainfrom
claude/issue-37229-skills-protocol-19

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Refs #37229

Clause-②: no
Metadata-protocol: none

维护者速读

  • 客户项目里的 AI 助手照着技能包写应用配置时,声明的协议大版本从 18 变成 19;技能包的考题也同步改成 19。
  • 属于「19.0.0 大版本」这条线:运行时的协议版本升到 19 之后,技能包要教同一个数,否则照抄的配置启动就被拒。
  • 若它早于协议升 19 的那个改动上线,照着技能写的新项目会在 18 版运行时上启动被拒;纯文字改动,可以直接撤回。
  • 要你做一件事:等「进入预发布阶段」和「协议升到 19」两个改动合入后,审批这个受管的技能包改动。

What changes

PR 2 of 2 for the card (seat direction: option A on the shape of the v18 move). This is the skills/** half, split off because skills/** is a governed surface. The sibling PR 1 moves PROTOCOL_VERSION to 19.0.0 and every other tracked '^18' on branch claude/issue-37229-protocol-version-19 (PR #37314). This PR lands with PR 1 or right after it, and after #37230 (pre mode plus the pending @objectstack/spec major). It stays draft until then.

Four lines in three files, each rewritten in place at equal byte length:

  • skills/objectstack-platform/SKILL.md L111: the defineStack manifest example declares engines: { protocol: '^19' } (was '^18').
  • skills/objectstack-platform/evals/config-plugins-ops.json L6 and L7: eval 1's prompt asks for protocol 19 and its expected output is '^19', so the eval stays consistent with the skill it scores.
  • skills/objectstack-upgrade/SKILL.md L89: the sentence that says what every scaffold and example writes now says '^19'.
  • .changeset/37229-skills-protocol-19.md: @objectstack/skills patch.

git grep -n "protocol: '\^18'" -- skills/ at head c9ad209e matches nothing.

Declarations, judged from content. The diff is skill prose and one eval fixture. It changes nothing a metadata author can write and nothing the runtime accepts or refuses; the refusal of '^18' is PR 1's. So Clause-②: no and Metadata-protocol: none, the same pair the v18 skills move (#25688) declared, and the changeset is patch. No Skills-docs: line is owed for a none kind.

Published-skills readings

Lines, and tokens as ceil(UTF-8 bytes / 4); origin/main dfdebfad to head c9ad209e.

File Before After
skills/objectstack-platform/SKILL.md 422 lines · 6150 tokens 422 · 6150
skills/objectstack-platform/evals/config-plugins-ops.json 399 · 6067 399 · 6067
skills/objectstack-upgrade/SKILL.md 481 · 6175 481 · 6175
Whole bundle (sum of every skills/*/SKILL.md) 4937 · 65368 4937 · 65368

Net for skills/**: 0 lines added, 0 removed. check-skills-token-ratchet at head: 60 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 42 eval fixture(s) measured, not ratcheted.

Tests

No workspace package source is touched, so no package test is owed. The marked defineStack example in objectstack-platform/SKILL.md is type-checked by check:skill-examples: 350 prose examples type-check across 3 surface(s), exit 0, after a full core build (121 of 121 turbo tasks, lock VERDICT command-exit 0).

Acceptance notes

  • No 18 → 19 step is added to objectstack-upgrade. The skill does not walk the majors one by one; it teaches one procedure (os migrate meta --from N, then the residue). No conversion or semantic entry is registered at step 19 on main dfdebfad (registry counts by toMajor: 11 → 5, 15 → 5, 17 → 26, 18 → 192, 19 → 0), so there is no step-19 text to teach yet.
  • Left unchanged on purpose in objectstack-upgrade/SKILL.md:
    • L74, os migrate meta --from 16 --to 18 --json. It names the last ported hop, not the current major. The chain composes hops only for majors that carry a step (17 and 18), and the skill's own eval pins the same replay form.
    • L91, the '^17' to --from 17 worked example (it shows taking the floor of a range).
    • L122 ("not in the 18 catalog") and L178 to L183 ("18.3 drops", "on 18.2 or earlier"): statements about 18.x releases, still true.
  • Frontmatter is the version pass's. compatibility: Requires @objectstack/spec 18.x and metadata.version: "18.6.0" in the skill frontmatter are stamped at release; check:skill-compatibility exits 0 at this head.
  • Order risk. If this merged before PR 1, the skill would teach '^19' to an 18 runtime, which refuses it. Hence the landing order above.
  • Noted, not filed (carrier: none): nothing cross-checks a protocol: literal in skill prose against PROTOCOL_VERSION; the v18 skills move noted the same.

Verification

Two-minute check: git diff origin/main...HEAD --stat -- skills/ shows 3 files, 4 insertions, 4 deletions; node scripts/check-skills-token-ratchet.mjs exits 0.

Read first (by risk):

  1. skills/objectstack-platform/evals/config-plugins-ops.json L6 and L7: prompt and expected output must move together.
  2. skills/objectstack-platform/SKILL.md L111: the block is type-checked.
  3. skills/objectstack-upgrade/SKILL.md L89, and L74 and L91 beside it, which stay.
Local gates at c9ad209 (main with #37230 merged in): 56 commands, all exit 0 (50 of 50 derived families run)

node scripts/pm/dispatch-gates.mjs --commands derived 50 families for this diff; --ran: 50 derived famil(ies) accounted for — 50 run, 0 NOT-MEASURED. Exit codes were captured before any pipe. All exit 0, among them check-adr-0087-registration, check-changeset-no-major, check-empty-changeset, check-skills-token-ratchet, check:skill-docs, check:skill-examples, check:skill-refs, check:skill-served-sections, check:skill-compatibility, check:skill-frame-freshness, check:skill-frame-sync, check:skill-identifier-liveness, check:skill-links, check:skill-top-level-keys, check:pm-governed-merges, check:test-source-alias, overlap-check (VERDICT clean exit 0, also clean with #35129). check:skill-examples first answered exit 3 (PREREQUISITE NOT MET: packages/client-react/dist unbuilt in a fresh worktree) and exit 0 after the full build.

Provenance

Opened by seat repo:objectstack#4 on the maintainer's authorization in the seat session (「#37229 的两个 PR 开 PR 时被拦了:放行」). The dev session (session_01QSeKYnFjnB9bU95RVja6w5, zone a4-S)'s own relay pr_create and report comment were refused by its permission check and not retried; it sent the prepared body and its os-dev report to the seat. The gate list above is condensed from the dev's full list (all 56 exit 0). Branch claude/issue-37229-skills-protocol-19 @ c9ad209e.


🤖 Generated with Claude Code

https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — REWORK · L1 · head c9ad209e24dd7810875aff1ddfe1abaad1a5508c · 2026-11-25T17:50Z

PR #37298, PR 2 of 2 for #37229 (the skills/** half). Read against GitHub and the tree, not against the report. One should-fix is open, in the changeset; the three skill hunks themselves hold.

Checklist

  • Shape. Open, draft, base main, first line Refs #37229, no closing keyword on any card (l1-face.mjs --pr 37298: CLEAN, 13 items read, none flagged). Author objectstack-fleet[bot].
  • Diff, read whole. 4 files, +14 / −4 against merge base dfdebfadd5: skills/objectstack-platform/SKILL.md L111, skills/objectstack-platform/evals/config-plugins-ops.json L6 and L7, skills/objectstack-upgrade/SKILL.md L89, and the new .changeset/37229-skills-protocol-19.md. Four lines rewritten in place; net 0 lines in skills/**. No file outside the card.
  • Premise. chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230 merged (2026-11-25T12:51Z, 5cf9941d3f). git grep "protocol: '\^18'" -- skills/ at this head matches nothing. The eval's prompt and expected output moved together, and its must_contain list names no range.
  • Declarations. Body and changeset both read Clause-②: no and Metadata-protocol: none through readClause2Line and readMetadataProtocolLine. That is right from content: skill prose and one eval fixture, nothing the runtime accepts or refuses. patch on @objectstack/skills follows. No Skills-docs: line is owed.
  • Gates (check-runs at this head). 30 success, 18 expected skip, 0 failed, 0 pending; Lint & Repo Gates and TypeScript Type Check both success; mergeable_state read clean, then unknown after main moved. git merge-tree against origin/main dbc1765a24 is clean.
  • Tier. check-governed-merges.mjs --pr 37298: GOVERNED, skills/** ×3, Tier H. record-recognisers.mjs --template on the four paths: the rules face, CONTRACT_REVIEW_TIER.
  • Skills value density. Byte-equal rewrites of one digit each; no growth, no budget question.
  • Landing order. The body says it: "This PR lands with PR 1 or right after it, and after chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230", "It stays draft until then", and the Order-risk note. The 速读's fourth line says the same. On main without PR 1 the taught '^19' is refused by the 18 runtime, so PR 2 must not land before PR 1 (feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314).

Changeset, sentence by sentence (.changeset/37229-skills-protocol-19.md)

  • Summary line and the first two sentences of the body: true against the diff and against PR 1.
  • Last sentence, tail clause: see S1.

Findings

  • S1 (should-fix) — the changeset's last sentence ends "no conversion is registered at step 19, so the chain an author replays still ends at 18." The first half stays true (PR 1's step19 has conversionIds: []). The second half is false on any tree that holds PR 1, which is the only tree this PR may land on: CHAIN_TERMINUS_MAJOR = Math.max(PROTOCOL_MAJOR, ...MIGRATION_MAJORS) is 19 there, and the CLI prints Chain: protocol 18 → 19 (this runtime implements protocol 19) (measured on PR 1's head e05fdf6f18 with the built CLI). The sentence ships in @objectstack/skills' CHANGELOG.md. Fix in the changeset only: drop the tail clause, or say that step 19 carries no conversion and one semantic entry (protocol-18-range-refused). The head has to move anyway (K, below), so this costs no extra round.
  • N1 — body, Acceptance notes: "No conversion or semantic entry is registered at step 19 on main dfdebfad … so there is no step-19 text to teach yet" is true at dfdebfad and stale once PR 1 lands (one semantic entry). The skill teaches one procedure, so nothing in skills/** needs to follow. Seat-side body edit.
  • N2 — objectstack-upgrade/SKILL.md L89 now says "every scaffold and example writes … '^19'". On main the create-objectstack blank template keeps '^18' until the version pass stamps it; the two ship together at 19.0.0-next.0, so the sentence is true where it is published. Accepted.
  • N3 — the body says "lands with PR 1 or right after it". "With" must not be read as "ahead of in the same queue batch"; the approval request should say after.

Seat-side items (no dev work)

  • Claim line. The newest Claim: comment on 19.0.0 大版本:PROTOCOL_VERSION 升到 19.0.0(预发布模式进入之后) #37229 is 7160363498. Through readClause2Line it reads Clause-②: no; through readMetadataProtocolLine it reads semantic. This body reads no and none: the Metadata-protocol line differs. The amendment 7161510004 is not a Claim: comment and carries neither line. The seat amends the claim.
  • K. landing-k.mjs --pr 37298: PRBASE 875ae40f85, K = 21 on origin/main dbc1765a24, hold at 15; shared-budget leg: this PR and main after PRBASE both touch the skills token ratchet. MERGE MAIN FIRST (exit 1). Do it after PR 1 is on main, in the same push as S1.
  • Closing keyword. PR 1 says Fixes #37229 and this PR says Refs. As written the card closes when PR 1 merges, with this half still open. Decide which PR closes the card and say so on both.

Verdict

REWORK, one patch round: S1 in the changeset, with the owed merge of main after PR 1. The contract-review record on this head is PASS (record-37298.md); the changeset is a prose face, so that record does not judge S1. No hand-off is written until S1 is closed.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: c9ad209e24dd7810875aff1ddfe1abaad1a5508c
Local-runs: probe — nothing was built or run at this head; one os migrate meta --from 18 run on the sibling PR #37314's head e05fdf6f18, in a throwaway worktree, to read the chain's terminus that this PR's text is judged against
Scope: skills/objectstack-platform/SKILL.md, skills/objectstack-platform/evals/config-plugins-ops.json, skills/objectstack-upgrade/SKILL.md + none
Security-touching: no

① Derived judgments

  • The face is read off the committed tree: three skills/** paths, the rules face. .changeset/37229-skills-protocol-19.md is a prose face and is the lane seat's L1 read, not this record's.
  • Clause-②: no holds. No published accept set or public surface moves: the hunks are a defineStack example, one eval's prompt and expected output, and one sentence of the upgrade skill. The refusal of '^18' is feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314's.
  • Metadata-protocol: none holds for the same reason. PR body and changeset agree, both read through readClause2Line and readMetadataProtocolLine.
  • The card's newest Claim: comment (7160363498) reads no and semantic. The semantic there was written for the constant move before the card split in two; it is not a reading of this diff. The seat amends the claim.

② Semver level

  • @objectstack/skills: patch. Kind none takes patch; nothing in skills/** is added or removed (0 net lines, byte-equal token counts).

③ Boundary flags

  • Dev flags: none open. The report's "noted, not filed" item (nothing cross-checks a protocol: literal in skill prose against PROTOCOL_VERSION) is a gate proposal with no maintainer naming it; not filed, correctly.
  • Author: objectstack-fleet[bot], opened by relay on the seat's stroke.
  • SQL push-down: no query code in the diff.
  • No changed hunk teaches permission, sharing, credential, token or authentication behaviour.

④ Design judgment

Implemented-by: session_01QSeKYnFjnB9bU95RVja6w5
Reviewed-by: session_01QSeKYpEsWWE9Y5YtSsDgqZ

VERDICT: PASS

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants